<?php
/**
 *
 * helper.php
 * User: kalvin
 * Date: 2018/1/24
 * Time: 下午4:33
 */
/**
 * function dd
 * @param $value type：anything
 */
function dd($value){
    dump($value);
    die;
//    \dd\Dump::dump($value);
}

function config($configname){
    $config_dir=dirname(__DIR__) . '/conf';
    $conf = new \Noodlehaus\Config($config_dir);
    return $conf->get($configname);
}

